package com.jingdianjichi.auth.infra.basic.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jingdianjichi.auth.infra.basic.entity.AuthUser;
import com.jingdianjichi.auth.infra.basic.entity.AuthUserRole;
import com.jingdianjichi.auth.infra.basic.service.AuthUserRoleService;
import com.jingdianjichi.auth.infra.basic.mapper.AuthUserRoleMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Collections;
import java.util.List;

/**
* @author 20432
* @description 针对表【auth_user_role(用户角色表)】的数据库操作Service实现
* @createDate 2025-10-19 14:33:36
*/
@Service
public class AuthUserRoleServiceImpl extends ServiceImpl<AuthUserRoleMapper, AuthUserRole>
    implements AuthUserRoleService{

    @Resource
    private AuthUserRoleMapper authUserRoleMapper;
    @Override
    public void insert(AuthUserRole authUserRole ) {
        authUserRoleMapper.insert(authUserRole);
    }

    @Override
    public List<AuthUserRole> queryByCondition(AuthUserRole authUserRole) {
        return authUserRoleMapper.queryByCondition(authUserRole);
    }
}




